﻿<Window x:Class="DTC.Popups.PhonePopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Контактный телефон" Height="250" Width="350" Style="{StaticResource PopupWindow}"
        Closing="Window_Closing">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Resources/TextEditStyles.xaml"/>
                <ResourceDictionary Source="../Resources/Brushes.xaml"/>
                <ResourceDictionary Source="../Resources/ComboBoxesStyles.xaml "/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <StackPanel Name="MainGrid" Margin="20" VerticalAlignment="Center">
        <WrapPanel>
            <TextBlock Foreground="{StaticResource MarkingFontColor}"
                       Text="Телефон: "
                       VerticalAlignment="Center"/>
            <TextBox Text="{Binding Number, Mode = OneWay}"
                     Style="{StaticResource HighlightedTextBox}"
                     Width="170"
                     Name="PhoneNumberTB"/>
        </WrapPanel>
        <WrapPanel Margin="0,10,0,0">
            <TextBlock Foreground="{StaticResource MarkingFontColor}"
                       Text="Описание: "
                       VerticalAlignment="Top"
                       Margin="0,3,0,0"/>
            <ComboBox Text="{Binding Description, Mode = OneWay}"
                     Width="170"
                      IsEditable="True"
                      Height="23"
                      Name="DescCB">
                <ComboBoxItem>Мобильный</ComboBoxItem>
                <ComboBoxItem>Рабочий</ComboBoxItem>
                <ComboBoxItem>Домашний</ComboBoxItem>
            </ComboBox>
        </WrapPanel>
    </StackPanel>
</Window>
